<?php
$strTableName="proforma_invoices";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="proforma_invoices";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT id,  account_id,  'account_address' AS account_address,  buyer_id,  '1' AS buyer_address,  consignee_id,  '1' AS consignee_address,  notify_id,  '1' AS notify_address,  proforma_invoice_no,  proforma_invoice_date,  customer_reference,  customer_reference_date,  commercial_invoice_no,  commercial_invoice_date,  term_of_sale1,  term_of_sale2,  shipment_mode_id,  estimated_shipment_date,  estimated_shipment_date_custom,  additional_charges_frieght_type,  additional_charges_legalization,  additional_charges_inspection,  additional_charges_special_packing,  others1_key,  others2_key,  others3_key,  others1_value,  others2_value,  others3_value,  payment_term_id,  payment_term_other,  bank_name_id,  bank_term1,  bank_term2,  currency_id,  terms_and_conditions";
$gsqlFrom="FROM proforma_invoices";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/proforma_invoices_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_proforma_invoices;
$eventObj = &$tableEvents["proforma_invoices"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>